package designpattern.factory;

import designpattern.dao.NewsDao;
import designpattern.dao.impl.NewsDaoMySqlImpl;

/**
 * @author 吴阳基
 * @datetime 2024/1/6 9:06
 */
public class MysqlDaoFactory implements AbstractFactory{
    @Override
    public NewsDao getInstance() {
        return new  NewsDaoMySqlImpl();
    }
}
